package com.fortune.dto.in.returnDeposit;

import java.math.BigDecimal;
import java.util.List;

import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

public class AddDto {
	@NotBlank(message="工单编号不能为空")
	@ApiModelProperty(example = "工单编号")
	private String orderNo;
	@NotBlank(message="客户id不能为空")
	@ApiModelProperty(example="客户id")
	private String clientId;
	private List<AddReturnDepositDto> addReturnDepositDto;

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public List<AddReturnDepositDto> getAddReturnDepositDto() {
		return addReturnDepositDto;
	}

	public void setAddReturnDepositDto(List<AddReturnDepositDto> addReturnDepositDto) {
		this.addReturnDepositDto = addReturnDepositDto;
	}

	@Override
	public String toString() {
		return "AddDto{" +
				"orderNo='" + orderNo + '\'' +
				", clientId='" + clientId + '\'' +
				", addReturnDepositDto=" + addReturnDepositDto +
				'}';
	}
}
